{% if query %}
    <div class="p10">

        <form class="layui-form" action="" lay-filter="table-query">

            <div class="layui-form-item">

                {% for control in query %}

                    {{ control.setInline().render()|raw }}

                {% endfor %}

                <div class="layui-inline text-right">
                    <button type="button" class="layui-btn layui-btn-sm layui-btn-normal" lay-submit
                            lay-filter="search">
                        {{ __('btn.search') }}
                    </button>
                    <button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">
                        {{ __('btn.reset') }}
                    </button>
                </div>

            </div>


        </form>
    </div>
{% endif %}